﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<title>用户注册_大唐天宝</title>

	<link type="image/x-icon" href="favicon.ico" rel="icon">

	<link rel="stylesheet" href="../public/stylesheet/css/indent.css" />
	<link rel="stylesheet" href="../public/stylesheet/style.css" />

	<script type="text/javascript" charset="UTF-8" src="js/jquery-1.9.0.min.js"></script><script type="text/javascript" charset="UTF-8" src="js/jquery-migrate-1.2.1.min.js"></script>

	<script type="text/javascript" charset="UTF-8" src="js/form.js"></script>

	<script type="text/javascript" charset="UTF-8" src="js/validate.js"></script><link rel="stylesheet" type="text/css" href="css/style.css" />

	<script type="text/javascript" charset="UTF-8" src="js/artdialog.js"></script><script type="text/javascript" charset="UTF-8" src="js/iframetools.js"></script><link rel="stylesheet" type="text/css" href="css/default.css" />

</head>
<body>
<div class="top-tt"> 
	<div class="logol1">
		<div class="top-ll"><img src="../public/images/logol.png"/>
		<span class="top-rr" style="float:right;margin-right:10px;">您好，欢迎光临大唐天宝！&nbsp;&nbsp;<a class="blue_link" href="./login.php">请登录</a></span>
		
		</div>
		

</div>
<div class="back">
<div class="main clearfix" >

	<div class="wrap_box" >
		
		

		<div class="box clearfix" style="height:auto !important;height:500px;min-height:500px;*height:900px;_height:900px;">
			<form action="doaction.php?a=register" method="post">
				<input type="hidden" name='callback' />
				<h2 align="center" style="margin-top:20px;">用户注册</h2>
				<table class="form_table f_l">
					<col width="260px" />
					<col />
					<!--<tr><th>邮箱：</th><td><input class="gray" type="text" name='email' value='' pattern="email" alt="填写正确的邮箱格式" /><label>填写正确的邮箱格式</label></td></tr>-->
					<tr><th>用户名：</th><td><input class="gray" name='username' value='' type="text" pattern="^[\w\u0391-\uFFE5]{2,20}$?" alt="填写2-20个字符，可以为字数，数字下划线和中文" /><label>请填写用户名，格式为2-20个字符，可以为字数，数字下划线和中文</label></td></tr>
					<tr><th>真实姓名：</th><td><input class="gray" name='name' value='' type="text" alt="填写正确的手机号码" /><label>[选填]请填写正确的用户名，格式为2-4个汉字</label></td></tr>
                    <tr><th>手机号：</th><td><input class="gray" name='phone' value='' type="text" pattern="^0{0,1}(13[0-9]|15[3-9]|15[0-2]|18[0-9])[0-9]{8}$" alt="填写正确的手机号码" /><label>[选填]请填写正确的手机号码</label></td></tr>
					<tr><th>设置密码：</th><td><input class="gray" type="password" name='pass' pattern="^\S{6,32}$" bind='repassword' alt='填写6-32个字符' /><label>填写登录密码，6-32个字符</label></td></tr>
					<tr><th>确认密码：</th><td><input class="gray" type="password" name='repass' pattern="^\S{6,32}$" bind='password' alt='重复上面所填写的密码' /><label>重复上面所填写的密码</label></td></tr>
					
					<tr><th>验证码：</th><td><input type='text' class='gray_s' name='code' pattern='^\w{0,10}$' alt='填写下面图片所示的字符' /><label>填写下面图片所示的字符</label></td></tr>
					<tr class="low"><th></th><td><img src='../public/code.php' id='captchaImg' onclick="this.src='../public/code.php?id='+Math.random();" />
					
					<tr><td></td><td><input class="sub" type="submit" value="提 交"/><label></label></td></tr>
				</table>
			</form>
		</div>
	  </div>
	</div>
</div>

<?php
	include('../public/footer.php');
?>